<template>
  <div>首页{{ date.data }}</div>
</template>

<script lang="ts" setup>
import useDate from '@/hooks/useDate'

const date = useDate(new Date())
console.log(date)
</script>

<style lang="scss" scoped></style>
